DataSource for Entity Framework in WPF
C1.WPF.LiveLinq Namespace / WpfExtensions Class / AsLive Method / AsLive<T>(ReadOnlyObservableCollection<T>) Method
The type of the elements in the view.
The ReadOnlyObservableCollection to expose as a view.

In This Topic
    AsLive<T>(ReadOnlyObservableCollection<T>) Method
    In This Topic
    A typed specialization of the AsLive<T>(INotifyCollectionChanged) method.
    Syntax
    'Declaration
     
    Public Overloads Shared Function AsLive(Of T)( _
       ByVal source As ReadOnlyObservableCollection(Of T) _
    ) As View(Of T)
    public static View<T> AsLive<T>( 
       ReadOnlyObservableCollection<T> source
    )

    Parameters

    source
    The ReadOnlyObservableCollection to expose as a view.

    Type Parameters

    T
    The type of the elements in the view.

    Return Value

    A view that contains the same elements as the ReadOnlyObservableCollection.
    See Also